home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-09-22 | 2.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| TTComp Archive (archive/ttcomp)
| fallback
| Supported |
100%
| file
| TTComp archive data, binary, 2K dictionary
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| TTComp archive compressed (bin-2K)
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 22 00 00 00 00 00 00 | 00 22 61 32 41 39 00 00 |."......|."a2A9..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 08 50 75 74 50 44 | 61 74 61 00 00 06 00 00 |...PutPD|ata.....|
|00000060| 00 00 00 98 00 00 00 00 | 00 00 00 98 00 00 00 14 |........|........|
|00000070| 03 c1 00 28 05 7e 00 ff | 00 00 00 00 00 00 0f a8 |...(.~..|........|
|00000080| 00 00 00 00 4e 1c 00 00 | 00 09 00 00 00 04 00 04 |....N...|........|
|00000090| ff fc ff fa 00 04 00 04 | ff fc ff fc 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 83 00 0b 40 | 10 6b 53 63 72 65 65 6e |.......@|.kScreen|
|000000b0| 41 50 49 2f 31 39 39 39 | 36 00 06 47 65 6e 65 76 |API/1999|6..Genev|
|000000c0| 61 00 00 3e 4f 53 45 72 | 72 20 50 75 74 50 44 61 |a..>OSEr|r PutPDa|
|000000d0| 74 61 28 54 72 65 65 4f | 62 6a 48 6e 64 6c 20 68 |ta(TreeO|bjHndl h|
|000000e0| 6e 64 6c 2c 20 6c 6f 6e | 67 20 6f 66 66 73 65 74 |ndl, lon|g offset|
|000000f0| 2c 20 53 74 72 69 6e 67 | 50 74 72 20 64 61 74 61 |, String|Ptr data|
|00000100| 29 3b 00 00 00 06 00 00 | 00 00 00 a0 00 00 00 00 |);......|........|
|00000110| 00 00 00 a0 00 00 00 00 | 03 c1 00 14 05 7e 00 ff |........|.....~..|
|00000120| 00 00 00 00 00 00 0f a8 | 00 00 00 00 4e 1d 00 00 |........|....N...|
|00000130| 00 09 00 00 00 04 00 04 | ff fc ff fa 00 04 00 04 |........|........|
|00000140| ff fc ff fc 00 00 00 00 | 00 00 00 00 83 00 0b 40 |........|.......@|
|00000150| 14 6b 53 63 72 65 65 6e | 4f 6e 65 4c 69 6e 65 2f |.kScreen|OneLine/|
|00000160| 31 39 39 39 37 00 06 47 | 65 6e 65 76 61 00 00 42 |19997..G|eneva..B|
|00000170| 47 69 76 65 6e 20 61 6e | 20 6f 66 66 73 65 74 20 |Given an| offset |
|00000180| 69 6e 20 74 68 65 20 6f | 62 6a 65 63 74 27 73 20 |in the o|bject's |
|00000190| 64 61 74 61 2c 20 72 65 | 70 6c 61 63 65 20 74 68 |data, re|place th|
|000001a0| 65 20 6f 6c 64 20 70 61 | 73 63 61 6c 20 64 61 74 |e old pa|scal dat|
|000001b0| 61 2e 00 00 00 06 00 00 | 00 00 00 44 00 00 00 00 |a.......|...D....|
|000001c0| 00 00 00 44 00 00 00 00 | 02 6b 04 40 02 6c 01 00 |...D....|.k.@.l..|
|000001d0| 00 00 00 00 00 01 0f f1 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 0c 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 06 00 00 00 00 00 8c |........|........|
|00000210| 00 00 00 00 00 00 00 8c | 00 00 00 00 02 6b 02 28 |........|.....k.(|
|00000220| 03 c1 00 ff 00 00 00 00 | 00 00 0f a8 00 00 00 00 |........|........|
|00000230| 4e 16 00 00 00 09 00 00 | 00 04 00 04 ff fc ff fa |N.......|........|
|00000240| 00 04 00 04 ff fc ff fc | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 83 00 0b 40 0b 6c 69 6e | 6b 73 2f 31 39 39 39 30 |...@.lin|ks/19990|
|00000260| 00 06 4d 6f 6e 61 63 6f | 00 00 21 61 32 31 30 2c |..Monaco|..!a210,|
|00000270| 47 65 74 44 61 74 61 4f | 66 66 73 65 74 0d 61 32 |GetDataO|ffset.a2|
|00000280| 32 32 2c 47 65 74 50 44 | 61 74 61 0d 00 16 00 01 |22,GetPD|ata.....|
|00000290| 00 00 00 00 00 10 00 0c | 00 01 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 06 00 00 | 00 00 05 1e 00 00 00 00 |........|........|
|000002b0| 00 00 05 1e 00 00 00 00 | 00 00 75 30 02 6b 01 ff |........|..u0.k..|
|000002c0| 00 00 00 00 00 00 0f a8 | 00 00 00 00 4e 1f 00 00 |........|....N...|
|000002d0| 00 09 00 00 00 04 00 04 | ff fc ff fa 00 04 00 04 |........|........|
|000002e0| ff fc ff fc 00 00 00 00 | 00 00 00 00 83 00 0b 40 |........|.......@|
|000002f0| 0a 62 6f 64 79 2f 31 39 | 39 39 39 00 06 4d 6f 6e |.body/19|999..Mon|
|00000300| 61 63 6f 00 04 14 4f 53 | 45 72 72 20 50 75 74 50 |aco...OS|Err PutP|
|00000310| 44 61 74 61 28 54 72 65 | 65 4f 62 6a 48 6e 64 6c |Data(Tre|eObjHndl|
|00000320| 20 68 6e 64 6c 2c 20 6c | 6f 6e 67 20 6f 66 66 73 | hndl, l|ong offs|
|00000330| 65 74 2c 20 53 74 72 69 | 6e 67 50 74 72 20 64 61 |et, Stri|ngPtr da|
|00000340| 74 61 29 3b 0d 0d 20 20 | 20 20 46 69 6c 65 3a 20 |ta);.. | File: |
|00000350| 54 72 65 65 4f 62 6a 2e | 68 0d 0d 49 4e 50 55 54 |TreeObj.|h..INPUT|
|00000360| 3a 20 20 68 6e 64 6c 20 | 20 20 20 20 20 20 20 4f |: hndl | O|
|00000370| 62 6a 65 63 74 20 74 6f | 20 73 74 6f 72 65 20 64 |bject to| store d|
|00000380| 61 74 61 2e 0d 20 20 20 | 20 20 20 20 20 6f 66 66 |ata.. | off|
|00000390| 73 65 74 20 20 20 20 20 | 20 4f 66 66 73 65 74 20 |set | Offset |
|000003a0| 69 6e 74 6f 20 74 68 65 | 20 64 61 74 61 20 61 72 |into the| data ar|
|000003b0| 65 61 20 6f 66 20 74 68 | 65 20 6f 62 6a 65 63 74 |ea of th|e object|
|000003c0| 2e 0d 20 20 20 20 20 20 | 20 20 64 61 74 61 20 20 |.. | data |
|000003d0| 20 20 20 20 20 20 50 6f | 69 6e 74 65 72 20 74 6f | Po|inter to|
|000003e0| 20 74 68 65 20 64 61 74 | 61 20 74 6f 20 73 61 76 | the dat|a to sav|
|000003f0| 65 2e 0d 52 45 53 55 4c | 54 3a 20 4f 53 45 72 72 |e..RESUL|T: OSErr|
|00000400| 20 20 20 20 20 20 20 4d | 6f 73 74 20 6c 69 6b 65 | M|ost like|
|00000410| 6c 79 20 65 72 72 6f 72 | 20 69 73 20 6d 65 6d 46 |ly error| is memF|
|00000420| 75 6c 6c 45 72 72 2e 0d | 0d 54 68 69 73 20 69 73 |ullErr..|.This is|
|00000430| 20 75 73 65 64 20 74 6f | 20 73 61 76 65 20 61 20 | used to| save a |
|00000440| 70 61 73 63 61 6c 20 73 | 74 72 69 6e 67 20 69 6e |pascal s|tring in|
|00000450| 74 6f 20 61 6e 20 6f 62 | 6a 65 63 74 2c 20 67 69 |to an ob|ject, gi|
|00000460| 76 65 6e 20 74 68 65 20 | 6f 66 66 73 65 74 20 6f |ven the |offset o|
|00000470| 66 20 74 68 65 20 64 61 | 74 61 2e 0d 54 68 65 20 |f the da|ta..The |
|00000480| 6f 66 66 73 65 74 20 6d | 75 73 74 20 72 65 66 65 |offset m|ust refe|
|00000490| 72 65 6e 63 65 20 61 20 | 70 61 73 63 61 6c 20 73 |rence a |pascal s|
|000004a0| 74 72 69 6e 67 20 6c 6f | 63 61 74 69 6f 6e 2c 20 |tring lo|cation, |
|000004b0| 73 69 6e 63 65 20 74 68 | 69 73 20 6f 70 65 72 61 |since th|is opera|
|000004c0| 74 69 6f 6e 20 77 69 6c | 6c 0d 72 65 70 6c 61 63 |tion wil|l.replac|
|000004d0| 65 20 74 68 65 20 70 72 | 65 76 69 6f 75 73 20 70 |e the pr|evious p|
|000004e0| 61 73 63 61 6c 20 73 74 | 72 69 6e 67 20 64 61 74 |ascal st|ring dat|
|000004f0| 61 20 65 6c 65 6d 65 6e | 74 2e 0d 0d 54 68 65 20 |a elemen|t...The |
|00000500| 6f 66 66 73 65 74 20 69 | 73 20 67 65 6e 65 72 61 |offset i|s genera|
|00000510| 6c 6c 79 20 67 6f 74 74 | 65 6e 20 62 79 20 63 61 |lly gott|en by ca|
|00000520| 6c 6c 69 6e 67 20 47 65 | 74 44 61 74 61 4f 66 66 |lling Ge|tDataOff|
|00000530| 73 65 74 20 66 6f 72 20 | 63 6f 6d 70 6c 65 78 20 |set for |complex |
|00000540| 64 61 74 61 20 74 79 70 | 65 73 2e 20 20 49 66 20 |data typ|es. If |
|00000550| 74 68 65 20 64 61 74 61 | 0d 66 6f 72 20 74 68 65 |the data|.for the|
|00000560| 20 6f 62 6a 65 63 74 20 | 69 73 20 61 20 73 69 6e | object |is a sin|
|00000570| 67 6c 65 20 70 61 73 63 | 61 6c 2d 73 74 72 69 6e |gle pasc|al-strin|
|00000580| 67 20 28 6f 72 20 61 20 | 70 61 73 63 61 6c 2d 73 |g (or a |pascal-s|
|00000590| 74 72 69 6e 67 20 61 74 | 20 74 68 65 20 65 6e 64 |tring at| the end|
|000005a0| 20 6f 66 20 61 20 66 69 | 78 65 64 20 62 6c 6f 63 | of a fi|xed bloc|
|000005b0| 6b 29 2c 0d 74 68 65 6e | 20 79 6f 75 20 63 61 6e |k),.then| you can|
|000005c0| 20 73 69 6d 70 6c 79 20 | 75 73 65 20 74 68 65 20 | simply |use the |
|000005d0| 6d 61 63 72 6f 20 d2 6f | 66 66 73 65 74 6f 66 d3 |macro .o|ffsetof.|
|000005e0| 20 74 6f 20 67 65 74 20 | 74 68 65 20 6f 66 66 73 | to get |the offs|
|000005f0| 65 74 20 74 6f 20 74 68 | 65 20 70 61 73 63 61 6c |et to th|e pascal|
|00000600| 2d 73 74 72 69 6e 67 2e | 20 20 49 66 20 79 6f 75 |-string.| If you|
|00000610| 0d 68 61 76 65 20 6d 75 | 6c 74 69 70 6c 65 20 70 |.have mu|ltiple p|
|00000620| 61 63 6b 65 64 20 70 61 | 73 63 61 6c 2d 73 74 72 |acked pa|scal-str|
|00000630| 69 6e 67 73 2c 20 74 68 | 65 6e 20 79 6f 75 20 6e |ings, th|en you n|
|00000640| 65 65 64 20 74 6f 20 75 | 73 65 20 47 65 74 44 61 |eed to u|se GetDa|
|00000650| 74 61 4f 66 66 73 65 74 | 20 74 6f 20 64 65 74 65 |taOffset| to dete|
|00000660| 72 6d 69 6e 65 20 74 68 | 65 0d 6f 66 66 73 65 74 |rmine th|e.offset|
|00000670| 20 66 6f 72 20 70 61 73 | 63 61 6c 2d 73 74 72 69 | for pas|cal-stri|
|00000680| 6e 67 73 20 61 66 74 65 | 72 20 74 68 65 20 66 69 |ngs afte|r the fi|
|00000690| 72 73 74 2e 20 20 28 54 | 68 65 20 66 69 72 73 74 |rst. (T|he first|
|000006a0| 20 73 74 61 72 74 73 20 | 61 74 20 61 20 66 69 78 | starts |at a fix|
|000006b0| 65 64 20 6c 6f 63 61 74 | 69 6f 6e 2c 20 73 6f 0d |ed locat|ion, so.|
|000006c0| 74 68 65 72 65 66 6f 72 | 65 20 69 74 20 68 61 73 |therefor|e it has|
|000006d0| 20 61 20 63 6f 6e 73 74 | 61 6e 74 20 6f 66 66 73 | a const|ant offs|
|000006e0| 65 74 2e 29 0d 0d 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |et.)..__|________|
|000006f0| 0d 0d 41 6c 73 6f 20 73 | 65 65 3a 20 20 20 47 65 |..Also s|ee: Ge|
|00000700| 74 50 44 61 74 61 2c 20 | 47 65 74 44 61 74 61 4f |tPData, |GetDataO|
|00000710| 66 66 73 65 74 2e 20 0d | 0d 0d 00 b6 00 09 00 00 |ffset. .|........|
|00000720| 00 00 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|00000730| 00 00 00 00 02 20 00 0b | 00 09 00 04 05 00 00 09 |..... ..|........|
|00000740| 00 00 00 00 00 00 00 00 | 02 2d 00 0b 00 09 00 04 |........|.-......|
|00000750| 00 00 00 09 00 00 00 00 | 00 00 00 00 03 45 00 0b |........|.....E..|
|00000760| 00 09 00 04 05 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 03 52 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |.R......|........|
|00000780| 00 00 00 00 03 f8 00 0b | 00 09 00 04 05 00 00 09 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 04 00 00 0b 00 09 00 04 |........|........|
|000007a0| 00 00 00 09 00 00 00 00 | 00 00 00 00 04 02 00 0b |........|........|
|000007b0| 00 09 00 04 05 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 04 0f 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|000007d0| 00 00 | |.. | |
+--------+-------------------------+-------------------------+--------+--------+